package org.brisling.oa.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>Title: OADrugPurchase</p>
 * <p>Description: 后勤物资采购模块实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:09:36
 */
@Entity
@Table(name=ConstSysParam.MODULE_OA_LOGISTICSPURCHASE)
public class OALogisticsPurchase extends BaseOADomain implements BaseFlowDomainInf{

	
	
	//具体事项(父类name)
	
	//填表日期
//	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//	private Date apply_date;
	
	//申购科室（父类apply_deptid）	
	
	//预估费用
	@Column
	private Double pre_price;
	
	//物品名称及数量  父类（biz_content）
	
		
	//院长意见	
		
	@Transient
	private String purchase_object;
	
	@Transient
	private String exist_object;
	
	//科室负责人审核（父类dept_audit,dept_content）
	
	//审计科审核是否计费（父类audit_id，audit_content）	

	public String getPurchase_object() {
		return purchase_object;
	}

	public void setPurchase_object(String purchase_object) {
		this.purchase_object = purchase_object;
	}

	public String getExist_object() {
		return exist_object;
	}

	public void setExist_object(String exist_object) {
		this.exist_object = exist_object;
	}

	//是否党委会
	public boolean isParty_committee_approve() {
		return party_committee_approve;
	}

	public void setParty_committee_approve(boolean party_committee_approve) {
		this.party_committee_approve = party_committee_approve;
	}

	
	
	//科室申购理由(父类apply_content)	
	//采购中心审批 父类（biz_content）
	
	//是否党委会审核
	private boolean party_committee_approve;

	//意见收集
	@Column(length=500)
	private String view_collection;
	
	//科室主管院长审批 父类（directLeader_content）
	//物资分管院长审批 父类（chargeLeader_content）
	
	//审定厂商， 种类， 价格
	@Column(length=500)
	private String approve_info;
	
	//会议评审
	@Column(length=500)
	private String meeting_approve;
	
	//采购科招标
	@Column(length=500)
	private String callBids;
	
	//采购科采购
	@Column(length=500)
	private String divisionPurchase;

	//附件
	@Column(length=200)
	private String add_file;
	
	public String getAdd_file() {
		return add_file;
	}

	public void setAdd_file(String add_file) {
		this.add_file = add_file;
	}

	/*********************************************************************************/
	public Date getApply_date() {
		return apply_date;
	}

	public void setApply_date(Date apply_date) {
		this.apply_date = apply_date;
	}
	
	public String getAudit_content() {
		return audit_content;
	}

	public void setAudit_content(String audit_content) {
		this.audit_content = audit_content;
	}
	

	public String getView_collection() {
		return view_collection;
	}

	public void setView_collection(String view_collection) {
		this.view_collection = view_collection;
	}

	public String getApprove_info() {
		return approve_info;
	}

	public void setApprove_info(String approve_info) {
		this.approve_info = approve_info;
	}

	public String getMeeting_approve() {
		return meeting_approve;
	}

	public void setMeeting_approve(String meeting_approve) {
		this.meeting_approve = meeting_approve;
	}

	public String getCallBids() {
		return callBids;
	}

	public void setCallBids(String callBids) {
		this.callBids = callBids;
	}

	public String getDivisionPurchase() {
		return divisionPurchase;
	}

	public void setDivisionPurchase(String divisionPurchase) {
		this.divisionPurchase = divisionPurchase;
	}

	public Double getPre_price() {
		return pre_price;
	}

	public void setPre_price(Double pre_price) {
		this.pre_price = pre_price;
	}
	
}